package com.fenqile.pop.enums;

/**
 * 商品出仓类型
 * 
 * @author Coby [cobylin@live.com] 2017
 */
public enum DeliverySourceKind implements IntValueEnum<DeliverySourceKind> {
	
	/**
	 * 0x0001
	 * 普通国内仓
	 */
	INTERNAL(0x0001, "普通国内仓"),
	
	/**
	 * 0x0002
	 * 保税仓
	 */
	BONDED_ZONE(0x0002, "保税仓"),
	
	/**
	 * 0x0004
	 * 海外直邮
	 */
	ABROAD(0x0004, "海外直邮"), 
	;

	private final int intValue;
	private final String name;
	
	private DeliverySourceKind(final int intValue, final String name) {
		this.intValue = intValue;
		this.name = name;
	}
	
	@Override
	public String getName() {
		return name;
	}

	@Override
	public int intValue() {
		return intValue;
	}

}
